home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QRZ! Ham Radio 6
/
QRZ Ham Radio Callsign Database - Volume 6.iso
/
mac
/
files
/
misc
/
motorola.lzh
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1992-03-04
|
4KB
|
99 lines
echo off
cls
if not %2x==x goto START
goto BEGIN
:BEGIN
echo.
echo.
echo.
echo ╔═╡ Installing the Motorola Data Disk ╞═══════════════════════════╗
echo ║ ║
echo ║ To install the Data Disk to drive C, in a subdirectory called ║
echo ║ MOTO, type "INSTALL C MOTO" at the prompt, then press Enter. ║
echo ║ ║
echo ║ To install the Data Disk to drive D, in a subdirectory called ║
echo ║ STATS, type "INSTALL D STATS", then press the Enter key. ║
echo ║ ║
echo ║ To install the Data Disk to another drive and/or subdirectory, ║
echo ║ use the syntax: "INSTALL drivename subdirectory". ║
echo ║ ║
echo ║ Please type your command line at the prompt now . . . ║
echo ║ ║
echo ╚═════════════════════════════════════════════════════════════════╝
fill 3,5,67,14,7,0
fill 3,8,35,1,3,0
echo.
echo.
goto FINISH
:START
echo.
echo.
echo.
echo The Motorola Data Disk will be installed to %1:\%2
fill 3,50,15,1,0,F
echo.
echo.
echo ╔═╡ Select an Option ╞═══════════════════════════════════╗
echo ║ ║
echo ║ A. Install the Data Disk to the path specified above. ║
echo ║ ║
echo ║ B. Oops! Let me change the path specified above. ║
echo ║ ║
echo ╚════════════════════════════════════════════════════════╝
fill 6,5,58,7,7,0
fill 6,8,18,1,3,0
echo.
echo Please select A or B now.
fill 14,33,1,1,0,F
fill 14,38,1,1,0,F
echo.
keypress AB
if errorlevel 2 goto OOPS
if errorlevel 1 goto DOIT
echo Sorry, that was an invalid selection, please try again.
wait 2
cls
goto START
echo
:OOPS
fill 10,7,54,1,0,7
echo You chose to re-enter the drive and subdirectory name . . .
wait 3
cls
goto BEGIN
:DOIT
fill 8,7,54,1,0,7
echo You chose to install the software to %1:\%2 . . .
wait 3
cls
echo.
echo.
echo INSTALL will now create the specified subdirectory, then copy
echo and uncompress the information it needs to your hard drive . . .
echo.
echo.
motorola %1:\%2
echo.
echo The installation is now complete . . .
wait 2
cls
echo.
echo.
echo ┌────────────────────────────────────────────────────────────────┐
echo │ │
echo │ To start the program, make sure you are logged onto the sub- │
echo │ directory you created, type "M" at the prompt, then press │
echo │ Enter (─┘). │
echo │ │
echo │ If you have any difficulty with this installation or with any │
echo │ other aspect of this product, call CyberSoft at (602)491-0022. │
echo │ │
echo └────────────────────────────────────────────────────────────────┘
fill 2,3,66,10,3,0
%1:
cd\%2
echo.
echo.
goto FINISH
:FINISH